package com.example.util;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author wangbin
 */
@Getter
@Setter
public class Pagination<T> {
    private Integer pageNo;
    private Integer pageSize;
    private List<T> data;
    private Long count;
    @JsonIgnore
    private Map<String, Object> param = new HashMap<>();

}
